package com.hyy.blogtest.common.exception;

public class UserException extends RuntimeException {
    private String message;
    private int code;
    public UserException(int code) {
        this.code = code;
    }

    public UserException(String message) {
        this.message = message;
    }

    public UserException(String message,int code) {
        this.code = code;
        this.message = message;
    }

    public UserException() {

    }
}
